package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区块对象 currency_block
 * 
 * @author ruoyi
 * @date 2022-12-30
 */
public class CurrencyBlock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 当前区块 */
    @Excel(name = "当前区块")
    private String blockNumber;

    /** 公链 */
    @Excel(name = "公链")
    private String publicChain;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBlockNumber(String blockNumber) 
    {
        this.blockNumber = blockNumber;
    }

    public String getBlockNumber() 
    {
        return blockNumber;
    }
    public void setPublicChain(String publicChain) 
    {
        this.publicChain = publicChain;
    }

    public String getPublicChain() 
    {
        return publicChain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("blockNumber", getBlockNumber())
            .append("publicChain", getPublicChain())
            .toString();
    }
}
